Integrand size = 27, antiderivative size = 292 \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=-\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {-1+c x} \sqrt {1+c x}}+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {2 d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
Time = 0.32 (sec) , antiderivative size = 292, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {5930, 5926, 5947, 4265, 2317, 2438, 8, 41} \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=-\frac {2 d \sqrt {d-c^2 d x^2} \arctan \left (e^{\text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{\sqrt {c x-1} \sqrt {c x+1}}+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {c x-1} \sqrt {c x+1}} \]
[In]
[Out]
Rule 8
Rule 41
Rule 2317
Rule 2438
Rule 4265
Rule 5926
Rule 5930
Rule 5947
Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))+d \int \frac {\sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))}{x} \, dx+\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int (-1+c x) (1+c x) \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \text {arccosh}(c x)}{x \sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right ) \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int 1 \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {-1+c x} \sqrt {1+c x}}+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}(\int (a+b x) \text {sech}(x) \, dx,x,\text {arccosh}(c x))}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {-1+c x} \sqrt {1+c x}}+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {2 d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (i b d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (i b d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {-1+c x} \sqrt {1+c x}}+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {2 d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (i b d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (i b d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {4 b c d x \sqrt {d-c^2 d x^2}}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {-1+c x} \sqrt {1+c x}}+d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {1}{3} \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))-\frac {2 d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \arctan \left (e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,-i e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {i b d \sqrt {d-c^2 d x^2} \operatorname {PolyLog}\left (2,i e^{\text {arccosh}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \\ \end{align*}
Time = 0.96 (sec) , antiderivative size = 336, normalized size of antiderivative = 1.15 \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=-\frac {1}{3} a d \left (-4+c^2 x^2\right ) \sqrt {d-c^2 d x^2}-\frac {b d \sqrt {d-c^2 d x^2} \left (9 c x+12 \left (\frac {-1+c x}{1+c x}\right )^{3/2} (1+c x)^3 \text {arccosh}(c x)-\cosh (3 \text {arccosh}(c x))\right )}{36 \sqrt {\frac {-1+c x}{1+c x}} (1+c x)}+a d^{3/2} \log (x)-a d^{3/2} \log \left (d+\sqrt {d} \sqrt {d-c^2 d x^2}\right )+\frac {b d \sqrt {d-c^2 d x^2} \left (-c x+\sqrt {\frac {-1+c x}{1+c x}} \text {arccosh}(c x)+c x \sqrt {\frac {-1+c x}{1+c x}} \text {arccosh}(c x)+i \text {arccosh}(c x) \log \left (1-i e^{-\text {arccosh}(c x)}\right )-i \text {arccosh}(c x) \log \left (1+i e^{-\text {arccosh}(c x)}\right )+i \operatorname {PolyLog}\left (2,-i e^{-\text {arccosh}(c x)}\right )-i \operatorname {PolyLog}\left (2,i e^{-\text {arccosh}(c x)}\right )\right )}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)} \]
[In]
[Out]
Time = 2.03 (sec) , antiderivative size = 499, normalized size of antiderivative = 1.71
method | result | size |
default | \(\frac {\left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}} a}{3}-a \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {-c^{2} d \,x^{2}+d}}{x}\right ) d^{\frac {3}{2}}+a d \sqrt {-c^{2} d \,x^{2}+d}+\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \ln \left (1+i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}-\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \ln \left (1-i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,c^{3} x^{3}}{9 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {4 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d c x}{3 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {4 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right )}{3 \left (c x +1\right ) \left (c x -1\right )}-\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {dilog}\left (1-i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right ) x^{4} c^{4}}{3 \left (c x +1\right ) \left (c x -1\right )}+\frac {5 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right ) x^{2} c^{2}}{3 \left (c x +1\right ) \left (c x -1\right )}+\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {dilog}\left (1+i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}\) | \(499\) |
parts | \(\frac {\left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}} a}{3}-a \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {-c^{2} d \,x^{2}+d}}{x}\right ) d^{\frac {3}{2}}+a d \sqrt {-c^{2} d \,x^{2}+d}+\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \ln \left (1+i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}-\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {arccosh}\left (c x \right ) \ln \left (1-i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,c^{3} x^{3}}{9 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {4 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d c x}{3 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {4 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right )}{3 \left (c x +1\right ) \left (c x -1\right )}-\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {dilog}\left (1-i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right ) x^{4} c^{4}}{3 \left (c x +1\right ) \left (c x -1\right )}+\frac {5 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, d \,\operatorname {arccosh}\left (c x \right ) x^{2} c^{2}}{3 \left (c x +1\right ) \left (c x -1\right )}+\frac {i b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \operatorname {dilog}\left (1+i \left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )\right ) d}{\sqrt {c x -1}\, \sqrt {c x +1}}\) | \(499\) |
[In]
[Out]
\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=\int { \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=\int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x}\, dx \]
[In]
[Out]
\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=\int { \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x} \,d x } \]
[In]
[Out]
Exception generated. \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x} \, dx=\int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2}}{x} \,d x \]
[In]
[Out]